package cn.com.idmy.auth.token;

import cn.com.idmy.auth.Device;
import org.jetbrains.annotations.NotNull;


public interface TokenConfigDao<ID> {
    @NotNull
    ITokenConfig getTokenConfig(@NotNull ID principalId, long accountType, @NotNull Device device);

    @NotNull
    ITokenConfig getTokenConfig(long id);
}